﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using CosyTrade.Distribution;
using System.Collections.Generic;

namespace CosyTrade.ClientForm.Distribution 
{
    public partial class ClientRport : DevExpress.XtraReports.UI.XtraReport
    {
        public ClientRport()
        {
            InitializeComponent();
            xrTable1.Borders = DevExpress.XtraPrinting.BorderSide.All;
        }

        public void SetData(IList<Client> clientSources)
        {
            if (clientSources != null) { 
                bindingSource1.DataSource = clientSources; 
            }
        }
    }
}
